<?php get_header(); ?>

<div id="left-content-single">
		<?php if (have_posts()) : ?>
  		<?php while (have_posts()) : the_post(); ?>

<div class="post-home">
<div class="post-title-single"><h1><?php the_title(); ?></h1><span><a href="<?php bloginfo('url'); ?>/author/<?php the_author_login(); ?>"><?php echo get_avatar( get_the_author_email(), 35); ?></a></span></div>
	<div class="post-content"><?php the_content(__('阅读全文')); ?></div>
		<div class="post-messages"><span><?php the_time('Y年m月d日'); ?></span><span>标签: <?php the_tags('', ',', ' '); ?></span><span>分类: <?php the_category(',') ?></span></div><span class="more-link"><?php edit_post_link(__('编辑文章>'),'',''); ?></span></div>
	<div class="navigation clearfix">
		<div class="alignleft"><?php next_post_link('%link') ?></div>
		<div class="alignright"><?php previous_post_link('%link')  ?></div>
	</div>
		<?php endwhile; else: ?>			
		<div id="featured-post">
			<h2>好像出了一点小状况</h2>
			<p>您所访问的这个页面好像不存在了或者还没有这个页面，你可以搜索看看，或者去其他页面看看。</p>
		</div>		
		<?php endif; ?>


<div id="comment">
	<?php comments_template('', true); ?>
</div>
</div>
<?php include (TEMPLATEPATH .'/sidebar1.php'); ?>

<?php get_footer(); ?>